package net.entelijan.cobean.examples.lit;

import net.entelijan.cobean.util.LookAndFeel;

@SuppressWarnings("unused")
public class GuiDeveloper {

	public GuiDeveloper() {
		super();
	}

	public static void main(String[] args) {
		openEditAuthor();
		//openMain();
	}

	private static void openMain() {
		LookAndFeel.PLASTIC.use();
		MainFrame m = new MainFrame();
		m.setSize(600, 600);
		m.setVisible(true);
	}

	private static void openEditAuthor() {
		LookAndFeel.PLASTIC_3D.use();
		EditAuthorDialog d = new EditAuthorDialog(null);
		d.getNameFailureTextField().setText("Very long failure, Very long failure, Very long failure, Very long failure, Very long failure, ");
		d.getBirthdayFailureTextField().setText("Invalid date");
		d.setVisible(true);
	}

}
